package com.naire.modul.answer.service;

import java.util.List;

import net.common.service.GeneralService;
import com.naire.modul.answer.dao.AnswerDao;
import com.naire.modul.answer.dao.impl.AnswerDaoImpl;
import com.naire.modul.answer.vo.AnswerVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class AnswerSearchService extends GeneralService {

	private List<AnswerVo> list;
	private String parent_code;

	@Override
	public void execute() throws Exception {
		AnswerDao dao = new AnswerDaoImpl();
		list = dao.search(pageBean, parent_code);
	}

	public List<AnswerVo> getList() {
		return list;
	}

	public void setParent_code(String parent_code) {
		this.parent_code = parent_code;
	}

}
